﻿
using System.ComponentModel.DataAnnotations.Schema;

namespace BDQN.Entities
{
    public class Admins : BaseEntity
    {
        [Column(TypeName = "varchar(50)")]
        public string NickName { get; set; }

        [Column(TypeName = "date")]
        public DateTime BornDate { get; set; }

        public int Gender { get; set; }

        [Column(TypeName = "varchar(50)")]
        public string Email { get; set; }

        [Column(TypeName = "varchar(50)")]
        public string Tel { get; set; }

        [Column(TypeName = "varchar(50)")]
        public string Photo { get; set; }

        [Column(TypeName = "varchar(50)")]
        public string Pwd { get; set; }

        public int RolesId { get; set; }
    }
}
